<script setup>
import DashBoard from "./components/DashBoard.vue";
import { computed } from "vue";

const showHeader = computed(() => {
  const queryString = window.location.search;
  const urlParams = new URLSearchParams(queryString);
  const noheader = urlParams.get('noheader')
  return noheader != "true"
})
</script>

<template>
  <header v-if="showHeader">
    <h1>ApiCat OpenAPI日志分析信息</h1>
  </header>

  <DashBoard />
</template>
